import 'package:fish_redux/fish_redux.dart';
import 'package:hayll_app_village_master/hayll/village_manager/device/device_log_page/bean/device_log.dart';

class DeviceLogState implements Cloneable<DeviceLogState> {
  List<DeviceLogResult> logList = List();
  String deviceNo = '';
  String deviceName = '';
  @override
  DeviceLogState clone() {
    return DeviceLogState()
      ..deviceNo = deviceNo
      ..deviceName = deviceName
      ..logList = logList;
  }
}

DeviceLogState initState(Map<String, dynamic> args) {
  return DeviceLogState()
    ..deviceNo = args['deviceNo']
    ..deviceName = args['deviceName'];
}
